package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    long findCountByDate(Date orderDate);
    void add(OrderSetting orderSetting);
    void update(OrderSetting orderSetting);


    List<Map> getOrdersettingByMonth(String date);

    OrderSetting findByData(Date orderDate) throws Exception;

    void modify(OrderSetting orderSetting);
}

